package com.zhongke.cotrun.controller.manager;

import com.zhongke.cotrun.common.util.APIResponse;
import com.zhongke.cotrun.service.ResearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/manager/Research")
public class ResearchController {
    @Autowired
    ResearchService researchService;

    /**
     * 获取所有的研究方向
     * @return
     */
    @RequestMapping("/selectAllResearch")
    public APIResponse selectAllResearch(){
        researchService.selectAllResearch();
return APIResponse.returnSuccess(researchService.selectAllResearch());
    }


}
